package moriarty.gwt.shared;

import javax.persistence.Id;

/**
 * An Objectify class for using persistent storage on the google app engine.
 * 1. Must have an @Id of type Long, long, or String (recommend Long)
 * 2. Must register class (this is done in the ObjectifyRegistrar class, which extends ContextListener)
 * 3. Add the registrar to the web.xml as a <listener>
 * @author cmoriarty
 *
 */
public abstract class DataStoreObject {
	@Id
	public Long id;
	
	//Objectify needs a blank constructor
	public DataStoreObject(){}
	
}
